// export interface IDBField {
//   name: string;
//   title: string;
//   type: string;
//   source: string;
//   method: string;
//   param: string;
// }


export interface Column {
  table_id?: number;
  column_id?: number;
  name: string;
  type: string;
  source: string;
  method: string;
  param: string;
  is_nullable: boolean;
  is_prefab: boolean;
  title: string;
}

export interface TableData {
  table_id?: number;
  name: string;
  title: string;
  columns: Column[];
}
export interface DictData {
  label: string;
  value: string;
  pid: string | number;
}
export interface PageData {
  name: string;
  content: string;
}
export interface ICreateMenu {
  label: string;
  pid: string | number;
  icon?: string;
  path?: string;
}
export interface IUpdateMenu {
  id: string | number;
  label: string;
  icon?: string;
  path?: string;
}